package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.DepartmentsPx;
//科室DAO
public interface DepartmentsDAO extends CrudRepository<DepartmentsPx, Integer> {
	@Query("select d from  DepartmentsPx d where d.departmentsId=?1")
	public  DepartmentsPx idkeshi(Integer departmentsId);
}
